﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleCasino
{
    public abstract class MenuItem
    {
        public string Name { get; private set; }
        public Style Style { get; protected set; }
        // Every item has a specific action. All inheritors of MenuItem override Perform.
        public abstract void Perform();
        public MenuItem() { }
        public MenuItem(string name, Style style)
        {
            this.Name = name;
            this.Style = style;
        }
    }
}
